package com.deng.test.service;

import com.deng.test.entity.User;

import java.util.HashMap;
import java.util.List;

public interface UserService {
    List<User> getAllUser();

    User getUserByName(String name);

    HashMap<String, Object> getToken(String username, String password) throws Exception;

    HashMap<String,Object> register(String username,String email, String password);
}
